import 'package:xindong/manager/xindong_user_controller.dart';
import 'package:xindong/utils/queue/xindong_dialog_queue.dart';
import 'package:xindong/widgets/dialog/xindong_alert_message.dart';

class XinDongDialogUtil {
  static showCallEndDialog() {
    XinDongDialogQueue.instance.addQueue(
      XinDongDialogElement(
        key: "XinDongCallEndDialog",
        priority: XinDongDialogPriority.high,
        userId: XinDongUserController.to.loginId,
        dialog: const XinDongAlertMessage(title: "通话结束", content: "对方已断开连接，结束通话。", button: "知道了"),
      ),
      showNow: true,
    );
  }
}
